/* prevent body scroll */
body.modal-open {
    overflow: hidden;
    position: fixed;
}

/* searching form */
.filter-form-portlet {
    margin-bottom: 0;
}

/* ******** Data Table***** */
.datatable-portlet.portlet > .portlet-title > .tools {
    padding: 0;
    margin-top: 5px;
}

.portlet.box .dataTables_wrapper .dt-buttons {
    margin-top: 0px;
}

table.dataTable tbody td.table_check_td {
    padding: 10px 18px;
}

table.dataTable tbody td.align-right {
    text-align: right;
}

img.dt-img {
    width: 30px;
    height: 30px;
}

/* ******** Expand tr ***** */
.table-hover > tbody > tr.tr_expand:hover {
    background-color: white;
}

.table-hover > tbody > tr.tr_expand:hover > td {
    background: white !important;
}

.tr_expand .tasks-widget{
    padding: 0;
}

/* ******** Search Criteria ***** */

.filter-form-portlet {
    margin-top: 0px;
    margin-bottom: 10px;
}

#search_criteria_form .form-actions {
    padding: 10px;
}

.thumbnail > img {
    height: 100%;
}

img.flag_icon {
    width: 20px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 2px;
}

.input-group {
    width: 100%;
}

/********* Search Criteria - New******/
.list_filter_form.portlet {
    margin-bottom: 10px;
}

.list_filter_form form .form-body {
    padding: 0;
}

.list_filter_form form .form-actions {
    padding-top: 10px;
    padding-bottom: 0px;
}

/* ****** Quick filter **** */
.mt-element-list .list-simple.mt-list-head .list-title {
    padding-right: 0;
    font-size: 18px;
}

.mt-element-list .list-simple.mt-list-head {
    padding: 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.mt-element-list .list-simple.ext-1.mt-list-container {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.mt-element-list .list-simple.mt-list-container {
    background-color: white;
}

.mt-element-list .list-simple.mt-list-container ul > .mt-list-item > .list-item-content {
    padding: 0;
}

.mt-element-list .list-simple.mt-list-container ul > .mt-list-item > .list-item-content > h3 {
    font-size: 16px;
}

.mt-element-list .list-simple.ext-1.mt-list-container ul > .mt-list-item.done {
    border-color: #f4c200 #f4c200 #e7ecf1;
}

.mt-element-list .list-simple.ext-1.mt-list-container ul > .mt-list-item {
    border-color: #30c6d3 #337ab7 #e7ecf1;
}

/* ******* sideBar ************/
.nav-link > i {
    margin-right: 5px;
}

/* ******* tabs ************/
.tabbable-custom > .tab-content {
    padding-top: 20px;
}

.tabbable-line > .tab-content {
    padding-top: 15px;
}

/**********Form Modal***********/
.formModal.modal .modal-header {
    border-bottom: 0;
    background-color: #30c6d3;
    color: white;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.formModal.modal .modal-footer {
    text-align: center;
    border-top: 1px solid #2fc7d4;
}

.formModal.modal form .control-label {
    color: #25a4b0;
}

.formModal.modal .form-control-static {
    padding-top: 0;
}

.form-horizontal .form-group .form-control-static {
    margin-top: 0;
}

.formModal.modal .mt-checkbox-inline, .mt-radio-inline {
    padding-top: 0;
}

.formModal.modal .form-break {
    clear: both;
    padding-bottom: 0;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #e7ecf1;
    vertical-align: middle;
}

.formModal.modal form #display_data .form-control-static {
    padding: 0;
    margin-bottom: 0;
    min-height: 0;
    color: #909090;
}

/* formModal checkbox*/
.formModal.modal .mt-checkbox-inline {
    padding: 10px 15px;
}

.formModal.modal .mt-checkbox-inline .mt-checkbox {
    margin: 0;
}

.formModal.modal .mt-checkbox-inline .mt-checkbox p {
    margin: 0;
}

/*Blue color formModal*/
.formModal.modal.caryr-bg-blue .modal-header {
    background-color: #3598DC;
}

.formModal.modal.caryr-bg-blue form .control-label {
    color: #3598DC;
}

.formModal.modal.caryr-bg-blue .modal-footer {
    border-top: 1px solid #3598DC;
}

.formModal.modal.caryr-bg-blue .has-success .form-control {
    border-color: #3598DC;
}

/*formModal tree*/
.formModal .portlet.box {
    border: 0;
    margin-bottom: 0;
    margin-top: 15px;
    border-top: 1px solid #2fc7d4;
}

.formModal .portlet.box .portlet-body li a {
    color: #25a4b0;
}

.formModal .portlet.box .portlet-body .tab-content {
    height: 200px;
    overflow: scroll;
}

/***********Rounded theme*************/
.input-group .form-control:last-child, .input-group-addon:last-child,
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

/******** Sweet alert fix*********/
.sweet-alert h2 {
    padding-top: 10px; /*text display incompletely*/
}
/********Color**********/
.caryr-text-blue {
    color: #3598DC;
}

/********scroll list**********/
.scroll-list {
    height: 312px;
}

/*.scroll-list .form-control {
    height: 28px;
}*/

.scroll-list .list-header {
    font-weight: bold;
    background-color: #eff1f5;
}

/***** Basic ****/
a:hover {
    text-decoration: none;
}

i.label_i {
    font-style: normal;
}

span.line-breaker {
    display: block;
    margin-top: 5px;
}

.portlet > .portlet-title > .tools > a.fullscreen:before {
    content: none
}

.portlet > .portlet-title > .tools > a.fullscreen.on:before {
    content: none;
}
/***** Form control: radio ****/
.mt-radio {
    margin-bottom: 0;
}

.mt-checkbox-inline, .mt-radio-inline {
    padding-bottom: 0;
    height: 34px;
}

.radio-label {
    font-style: normal !important;
}

/******form section *****/
.form-section {
    clear: both;
    padding-bottom: 0;
    margin: 30px 0;
    border-bottom: 1px solid #e7ecf1;
}

/******required field*****/
.caryr-required.control-label {
    color: #fd7e7d;
}

.caryr-required::before {
    content: "*\0000a0";
}

/****** task-widget in tab-content**/
.tab-content .portlet.tasks-widget {
    border-left: none;
    border: none;
    padding: 0;
}

.portlet.tasks-widget .mt-action-buttons {
    vertical-align: top;
    display: table-cell;
    float: right;
    white-space: nowrap;
    padding-left: 0;
    padding-right: 0;
}

.portlet.tasks-widget div.input-wrap {
    padding-left: 5px;
    padding-right: 5px;
}

.tasks-widget .task-value, .tasks-widget .task-title {
    margin-left: 30px;
}

/******* Large Modal **************/
.modal-dialog.large-modal-dialog {
    width: 700px;
}

.formModal .portlet.tasks-widget {
    padding: 15px;
}

.formModal .portlet.tasks-widget .task-list > li > .task-title {
    margin-left: 0;
    margin-right: 0;
}

.modal-dialog.large-modal-dialog .mt-radio-inline {
    padding-left: 15px;
    padding-right: 15px;
}

/*=============== Pages ================*/
/*------------ Dashboard ---------------*/
#order_list_content .slimScrollDiv {
    height: 472px !important;
}

#order_list_content .scroller {
    height: 472px !important;
}
/*------------ Dashboard ---------------*/
.column-left{
    padding-left:0px;
}
.column-right{
    padding-left:0px;
    padding-right:0px;
}
/*--------------- Stock ----------------*/
#stockChart {
    margin-bottom: 10px;
    margin-top: 10px;
}

#stockChart .CSSAnimationChart, .mapChart {
    width: 100%;
    height: 250px;
}
#stockChart .amcharts-category-axis{
    display: none;
}
/*--------------- Order ----------------*/
#trade_import_summary_form .list_tail p {
    border-bottom: 1px solid #dedede;
}

/*============= Component =============*/
/*--- Customize portlet remove button--*/
.portlet>.portlet-title>.tools>a.btn_remove_caryr {
    background-image: url(../global/img/portlet-remove-icon.png);
    background-repeat: no-repeat;
    width: 11px;
}

/*--------- Instruction alert ---------*/
.instruction.alert {
    margin-bottom: 10px;
    margin-top: 10px;
}
/*--------- Filter Widget ---------*/
.filterWidget.table-checkable tr>td:first-child{
    padding-left: 8px;
    padding-right: 8px;
}

.list_filter_form > .portlet-title {
    border-bottom: none;
}
